package cn.tedu.system.shippingcart.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CartVO {
    @ApiModelProperty(value = "购物车编号")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "商品id")
    private Long productId;
    @ApiModelProperty(value = "商品名称", required = true)
    private String productName;
    @ApiModelProperty(value = "商品数量")
    private Integer quantity;
    @ApiModelProperty(value = "是否选中")
    private Integer selected;
    @ApiModelProperty(value = "单种商品总价")
    private Double totalPrice;
}
